package integerDemo;

public class Demo1 {
	public static void main(String args[]){
		Integer i = new Integer(12);  //装箱
		int a = i.intValue();  //拆箱
		System.out.println(a);
		
		Integer j =12;  //自动包装拆包
   int age = Integer.parseInt("18");
   System.out.println(age);
   String age2 = Integer.toString(28);
   System.out.println(age2);
 
	}
}
